@import '@/app/styles/variables';

.title {
  margin-top: 200px;
  text-align: center;
}

.desc {
  max-width: 600px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 80px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link {
  position: relative;
  text-decoration: none;
  padding-left: 29px;
  transition: color 0.1s;
  white-space: nowrap;

  & > img {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    width: 24px;
    height: 24px;
  }
}

.block {
  background-color: #f5f5f5;
  color: #000;
  text-align: center;
}

.reset {
  color: #4e74fd;
  display: inline;
  border-bottom: 2px solid #4e74fd;
  cursor: pointer;
}

.form {
  width: 720px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 0 0 9px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  border-radius: 0;
  -webkit-border-radius: 0;
  appearance: none;
  -webkit-appearance: none;

  &:focus {
    border-bottom-color: #000;
  }
}

.error {
  border-color: #ec3334;
  &::placeholder {
    color: #ec3334;
  }
}

.button {
  margin-top: 30px;
  width: 250px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
}

@include media(lg) {
  .form {
    width: 100%;
  }
}

@include media(md) {
  .title {
    margin-top: 150px;
  }

  .desc {
    margin-bottom: 60px;
  }
}

@include media(sm) {
  .title {
    margin-top: 150px;
  }

  .desc {
    margin-top: 40px;
    margin-bottom: 60px;
  }
}

@include media(xs) {
  .title {
    margin-top: 60px;
  }

  .desc {
    margin: 30px 0;
  }

  .form {
    gap: 21px;
  }

  .input {
    padding: 0 0 4px;
  }

  .button {
    margin-top: 19px;
  }
}
